<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册成功</title>
    <!-- 引入 Bootstrap在线cdn -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<script type="text/javascript">
    function countDown(secs, surl) {
        //alert(surl);
        var jumpTo = document.getElementById('jumpTo');
        jumpTo.innerHTML = secs;
        if (--secs > 0) {
            setTimeout("countDown(" + secs + ",'" + surl + "')", 1000);
        } else {
            location.href = surl;
        }
    }
</script>
<body>

<div class="row clearfix" style="text-align: center;background-color: pink;color: blue;margin-top: 30px">
    <div style="font-size: 20px">
        <span>邮件已成功发送，请点击邮箱链接激活用户哦~ </span>
        <span id="jumpTo" style="color: black">10</span>秒后将自动跳转到登录页
    </div>
</div>
<script type="text/javascript">
    // 30 秒后跳转的页面

    countDown(10,'http://localhost:8091/user/toLoginPage');//本地测试的路径
    // countDown(20, 'http://http://jiuqi.free.idcfengye.com/user/loginPage');//服务器测试的路径
</script>

</body>
</html>

